package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.domain.ResponseResult;
import com.feng.domain.entity.Menu;
import com.feng.domain.vo.MenuVo;

import java.util.List;

/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2023-04-19 23:49:29
 */
public interface MenuService extends IService<Menu> {

    List<String> selectMenuByUserId(Long id);

    List<MenuVo> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult listAll(String status, String menuName);

    ResponseResult getMenu(Long id);

    ResponseResult updateMenu(Menu menu);

    ResponseResult deleteMenu(Long menuId);

    ResponseResult treeSelect();

    ResponseResult roleTreeSelect(Long id);
}

